package com.xxb.ds.controller;

import com.xxb.ds.service.IOrderDetailsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author panghu
 * @version 1.0.0
 * @createTime 2023年07月09日 13:39:00
 * @Description
 */
@RestController
@Slf4j
public class OrderDetailsController {

    @Autowired
    private IOrderDetailsService orderDetailsService;

    @GetMapping("/create/order")
    public String createOrderDetails() {
        orderDetailsService.saveOrderDetails();
        return "success";
    }

}
